package com.just.sxmiaosha.dao;

import com.just.sxmiaosha.entity.Stock;
import com.just.sxmiaosha.entity.StockOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;

import java.util.Date;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author just
 * @since 2020-09-23
 */
public interface StockOrderDao extends BaseMapper<StockOrder> {

    @Insert("INSERT into stock_order (name,sid,create_time) values(#{name},#{i},now()) ")
    void insertOrder(String name, int i);


}
